.. _ocadynamicsdetector: 1.1.1.15 OcaDynamicsDetector ============================= Class Hierarchy: :ref:`OcaRoot ` : :ref:`OcaWorker ` : :ref:`OcaActuator ` : :ref:`OcaDynamicsDetector ` .. cpp:class:: OcaDynamicsDetector: OcaActuator Dynamics element : side-chain detector. **Properties**: .. _ocadynamicsdetector_attacktime: .. cpp:member:: OcaTimeInterval AttackTime Detector attack time in seconds. This property has id ``4.2``. .. _ocadynamicsdetector_classid: .. cpp:member:: static const OcaClassID ClassID = "1.1.1.15" Number that uniquely identifies the class. Note that this differs from the object number, which identifies the instantiated object. This property is an override of the **OcaRoot** property. This property has id ``1.1``. .. _ocadynamicsdetector_classversion: .. cpp:member:: static const OcaClassVersionNumber ClassVersion = 3 Identifies the interface version of the class. Any change to the class definition leads to a higher class version. This property is an override of the **OcaRoot** property. This property has id ``1.2``. .. _ocadynamicsdetector_holdtime: .. cpp:member:: OcaTimeInterval HoldTime Detector hold time in seconds. This property has id ``4.4``. .. _ocadynamicsdetector_law: .. cpp:member:: OcaLevelDetectionLaw Law Level detection law: RMS, Peak, possibly others This property has id ``4.1``. .. _ocadynamicsdetector_releasetime: .. cpp:member:: OcaTimeInterval ReleaseTime Detector release time in seconds. This property has id ``4.3``. Properties inherited from :ref:`ocaactuator`: - :cpp:texpr:`OcaClassID` :ref:`OcaRoot::ClassID ` - :cpp:texpr:`OcaClassVersionNumber` :ref:`OcaRoot::ClassVersion ` - :cpp:texpr:`OcaBoolean` :ref:`OcaRoot::Lockable ` - :cpp:texpr:`OcaLockState` :ref:`OcaRoot::LockState ` - :cpp:texpr:`OcaONo` :ref:`OcaRoot::ObjectNumber ` - :cpp:texpr:`OcaString` :ref:`OcaRoot::Role ` - :cpp:texpr:`OcaClassID` :ref:`OcaWorker::ClassID ` - :cpp:texpr:`OcaClassVersionNumber` :ref:`OcaWorker::ClassVersion ` - :cpp:texpr:`OcaBoolean` :ref:`OcaWorker::Enabled ` - :cpp:texpr:`OcaString` :ref:`OcaWorker::Label ` - :cpp:texpr:`OcaTimeInterval` :ref:`OcaWorker::Latency ` - :cpp:texpr:`OcaONo` :ref:`OcaWorker::Owner ` - :cpp:texpr:`OcaMap` :ref:`OcaWorker::PortClockMap ` - :cpp:texpr:`OcaList` :ref:`OcaWorker::Ports ` - :cpp:texpr:`OcaClassID` :ref:`OcaActuator::ClassID ` - :cpp:texpr:`OcaClassVersionNumber` :ref:`OcaActuator::ClassVersion ` **Methods**: .. _ocadynamicsdetector_getlaw: .. cpp:function:: OcaStatus GetLaw(OcaLevelDetectionLaw &Law) Gets the value of the **Law** property. This method has id ``4.1``. - :cpp:expr:`Law`: Output parameter. .. _ocadynamicsdetector_setlaw: .. cpp:function:: OcaStatus SetLaw(OcaLevelDetectionLaw Law) Sets the value of the **Law** property. This method has id ``4.2``. - :cpp:expr:`Law`: Input parameter. .. _ocadynamicsdetector_getattacktime: .. cpp:function:: OcaStatus GetAttackTime(OcaTimeInterval &Time, OcaTimeInterval &minTime, OcaTimeInterval &maxTime) Gets the value and limits of the **AttackTime** property. This method has id ``4.3``. - :cpp:expr:`Time`: Output parameter. - :cpp:expr:`minTime`: Output parameter. - :cpp:expr:`maxTime`: Output parameter. .. _ocadynamicsdetector_setattacktime: .. cpp:function:: OcaStatus SetAttackTime(OcaTimeInterval Time) Sets the value of the **AttackTime** property. This method has id ``4.4``. - :cpp:expr:`Time`: Input parameter. .. _ocadynamicsdetector_getreleasetime: .. cpp:function:: OcaStatus GetReleaseTime(OcaTimeInterval &Time, OcaTimeInterval &minTime, OcaTimeInterval &maxTime) Gets the value and limits of the **ReleaseTime** property. This method has id ``4.5``. - :cpp:expr:`Time`: Output parameter. - :cpp:expr:`minTime`: Output parameter. - :cpp:expr:`maxTime`: Output parameter. .. _ocadynamicsdetector_setreleasetime: .. cpp:function:: OcaStatus SetReleaseTime(OcaTimeInterval Time) Sets the value of the **ReleaseTime** property. This method has id ``4.6``. - :cpp:expr:`Time`: Input parameter. .. _ocadynamicsdetector_getholdtime: .. cpp:function:: OcaStatus GetHoldTime(OcaTimeInterval &Time, OcaTimeInterval &minTime, OcaTimeInterval &maxTime) Gets the value and limits of the **HoldTime** property. This method has id ``4.7``. - :cpp:expr:`Time`: Output parameter. - :cpp:expr:`minTime`: Output parameter. - :cpp:expr:`maxTime`: Output parameter. .. _ocadynamicsdetector_setholdtime: .. cpp:function:: OcaStatus SetHoldTime(OcaTimeInterval Time) Sets the value of the **HoldTime** property. This method has id ``4.8``. - :cpp:expr:`Time`: Input parameter. .. _ocadynamicsdetector_setmultiple: .. cpp:function:: OcaStatus SetMultiple(OcaParameterMask Mask, OcaLevelDetectionLaw Law, OcaTimeInterval AttackTime, OcaTimeInterval ReleaseTime, OcaTimeInterval HoldTime) Sets some or all detector parameters. The return value indicates if the parameters were successfully set. The action of this method is atomic - if any of the value changes fails, none of the changes are made. This method has id ``4.9``. - :cpp:expr:`Mask`: Input parameter. - :cpp:expr:`Law`: Input parameter. - :cpp:expr:`AttackTime`: Input parameter. - :cpp:expr:`ReleaseTime`: Input parameter. - :cpp:expr:`HoldTime`: Input parameter. Methods inherited from :ref:`ocaactuator`: - :ref:`OcaActuator::GetClassIdentification ` - :ref:`OcaActuator::GetLockable ` - :ref:`OcaActuator::GetLockState ` - :ref:`OcaActuator::GetRole ` - :ref:`OcaActuator::SetLockNoWrite ` - :ref:`OcaActuator::SetLockNoReadWrite ` - :ref:`OcaActuator::Unlock ` - :ref:`OcaActuator::AddPort ` - :ref:`OcaActuator::DeletePort ` - :ref:`OcaActuator::DeletePortClockMapEntry ` - :ref:`OcaActuator::GetEnabled ` - :ref:`OcaActuator::GetLabel ` - :ref:`OcaActuator::GetLatency ` - :ref:`OcaActuator::GetOwner ` - :ref:`OcaActuator::GetPath ` - :ref:`OcaActuator::GetPortClockMap ` - :ref:`OcaActuator::GetPortClockMapEntry ` - :ref:`OcaActuator::GetPortName ` - :ref:`OcaActuator::GetPorts ` - :ref:`OcaActuator::SetEnabled ` - :ref:`OcaActuator::SetLabel ` - :ref:`OcaActuator::SetLatency ` - :ref:`OcaActuator::SetPortClockMap ` - :ref:`OcaActuator::SetPortClockMapEntry ` - :ref:`OcaActuator::SetPortName `